AssociativeContainer<IndexType, ItemType>::operator[]
ItemType & operator[] (const IndexType & idx);
const ItemType & operator[] (const IndexType & idx) const;
파라미터
- idx
접근할 항목의 인덱스입니다. 반드시 존재하는 인덱스이어야 합니다.
리턴 값
설명
만약 일치하는 인덱스를 발견하지 못하면 IllegalReferenceException 예외가 던져질 것입니다.